//
//  ZJExtensionAgentView.m
//  这家测试项目
//
//  Created by IOS_DEVELOPER on 2017/6/6.
//  Copyright © 2017年 陈志凌. All rights reserved.
//

#import "ZJExtensionAgentView.h"
#import <CoreImage/CoreImage.h>

@implementation ZJExtensionAgentView



-(void)awakeFromNib{
    [super awakeFromNib];
    
    ZJUserModel * model = GET_USERINFO;
    self.extensionAgentCode.text = model.promoter_code;
    self.qrkimg.image = [UIImage imageWithContentsOfFile:[Utils imgPath:@"tgy_pic_bg@3x.png"]];
    [HMScannerController cardImageWithCardName:model.promoter_code avatar:nil scale:0.2 completion:^(UIImage *image) {
        
        //        self.pay_codeView.backgroundColor = [UIColor colorWithPatternImage:image];
        self.QRImage.image = image;
    }];
}

@end
